package common;

public class FileObject {
	
	private String fileName;
	private long fileSize = 0; // the size of a file is limited to int, not support for long now
	private long fileBufSave = 0;
	private boolean completed = true;
	
	public FileObject() {
	}

	public FileObject(String fileName, long fileSize) {
		super();
		this.fileName = fileName;
		this.fileSize = fileSize;
	}
	
	public String getFileName() {
		return fileName;
	}
	
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}
	
	public long getFileBufSave() {
		return fileBufSave;
	}

	public void setFileBufSave(long fileBufSave) {
		this.fileBufSave = fileBufSave;
	}
	
	public boolean isCompleted() {
		return completed;
	}

	public void setCompleted(boolean completed) {
		this.completed = completed;
	}
}
